<div id="content">
<div style="text-align: center">
<?php echo validation_errors(); ?>
<?php
if (!empty($msg)){
echo '<p><b>'.$msg.'</b></p>';
}?>
<p>昵称：<?php echo $user->display_name;?></p>
<?php 
echo form_open('/setting/save');
echo form_label('支持的项目：','project');
echo form_dropdown('project', $projects, $user->selected_project_id);
?>
<br/>（*微笑网默认捐赠给一帮一助学项目）
<p>新浪微博：<?php echo $bindings;?></p>
<p>腾讯微博：<?php echo $bindings;?></p>
<?php 
echo form_checkbox('follow_wiebo', 'follow_weibo', true);
echo form_label('关注微笑网官方微博','follow_weibo');
echo '<br/>'; 
echo form_submit('save', '保存');
echo form_close();
?>
</div>
</div>